#include "EventAddWindow.h"

static void
activate(GtkApplication *app, gpointer data)
{
        EventAddWindow *add_window;
        add_window = event_add_window_new();
        gtk_application_add_window(app, GTK_WINDOW(add_window));
        gtk_window_present(GTK_WINDOW(add_window));
}

int
main(int argc, char **argv)
{
        g_autoptr(GtkApplication) app =
                gtk_application_new("org.korack.event",
                                    G_APPLICATION_DEFAULT_FLAGS);
        g_signal_connect(app, "activate", G_CALLBACK(activate), NULL);
        return g_application_run(G_APPLICATION(app), argc, argv);
}